/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller,io } = app;
  router.get('/', controller.home.index);
  router.get('/demo', controller.demo.index);
  io.of('/').route('chat',io.controller.chat.index)
};
